wayland: Don't translate a NULL region into an empty one
authorCarlos Garnacho <carlosg@gnome.org>
Fri, 7 Nov 2014 16:16:59 +0000 (17:16 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Fri, 7 Nov 2014 16:23:54 +0000 (17:23 +0100)
commit964abf74235caa5cbeab64e845c4b35ac340b860
treef10e5d636b3f63c7d12a3899f7fe1834774e569b
parent52a90758f961d39fe92c12546136849991b28ddd
wayland: Don't translate a NULL region into an empty one

cairo_region_copy(NULL) will effectively return an empty region, as this
function is always meant to return valid memory. This however inverts the
meaning of the NULL region and results in entirely non-clickable windows.
gdk/wayland/gdkwindow-wayland.c